github.com/gotd/td/mtproto.ServerTime.base (field)
5 uses
github.com/gotd/td/mtproto (current package)
server_time.go#L25: base clock.Clock
server_time.go#L41: t := &ServerTime{base: base}
server_time.go#L48: return t.base.Now().Add(time.Duration(t.offset.Load()))
server_time.go#L79: diff := int64(server.Sub(t.base.Now()))
server_time.go#L99: diff := int64(server.Sub(t.base.Now()))
![]() |
The pages are generated with Golds v0.8.7. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |